| Modifier and Type | Method and Description |
|---|---|
List<Protesi> |
ProtesiRepository.findAllActiveByIdNota(String idNota)
Recupera tutti i Protesi attivi associati a un determinato ID di nota taccuino.
|
Optional<Protesi> |
ProtesiRepository.findByIdAndAttivo(String id,
Boolean attivo)
Recupera l'oggetto di tipo Protesi attivo associati a un determinato ID.
|
| Modifier and Type | Method and Description |
|---|---|
Protesi |
ProtesiDataService.addNtt(NotaTaccuino nota,
ProtesiAusilioRequestDTO protesiRequest)
Aggiunge al database una nuova istanza di tipo Protesi o Ausilio
|
Protesi |
ProtesiDataService.getNttById(String idProtesi)
Restituisce la protesi in stato attivo in base all'ID in input
|
Protesi |
ProtesiDataService.updateNtt(Protesi protesi,
ProtesiAusilioRequestDTO newProtesiDto)
Crea e salva un'istanza di tipo Protesi aggiornata con i dati in input, e depreca la vecchia istanza
|
| Modifier and Type | Method and Description |
|---|---|
List<Protesi> |
ProtesiDataService.findAllNttById(String idNota)
Recupera l'elenco di Protesi associati ad un id nota
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProtesiDataService.deprecaNtt(Protesi protesi)
Cancella logicamente l'istanza di tipo Protesi inserita in input
|
Protesi |
ProtesiDataService.updateNtt(Protesi protesi,
ProtesiAusilioRequestDTO newProtesiDto)
Crea e salva un'istanza di tipo Protesi aggiornata con i dati in input, e depreca la vecchia istanza
|
| Modifier and Type | Method and Description |
|---|---|
Protesi |
EntityBuilder.newProtesi(ProtesiAusilioRequestDTO dto,
NotaTaccuino nota)
Generazione di una nuova entity
|
| Modifier and Type | Method and Description |
|---|---|
ProtesiAusilioResponseDTO |
DTOBuilder.buildProtesiResponseDTO(Protesi protesi)
Generazione di un nuovo DTO
|
Copyright © 2024. All rights reserved.